package com.example.mapper;

import com.example.domain.CultureProject;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

public interface CultureDeclareMapper {
    int addCulture(CultureProject cultureProject);

    List<CultureProject> queryCulture(CultureProject cultureProject);

    @MapKey(value = "dict_label")
    List<Map<String, Long>> queryCultureCategory();
}
